package com.skygrass.caesar.proxy;

import java.util.Map;

import org.springframework.boot.autoconfigure.web.DefaultErrorAttributes;
import org.springframework.web.context.request.RequestAttributes;

public class CaesarErrorAttributes extends DefaultErrorAttributes
{
	@Override
	public Map<String, Object> getErrorAttributes(RequestAttributes requestAttributes, boolean includeStackTrace)
	{
		Map<String, Object> errorAttributes = super.getErrorAttributes(requestAttributes, includeStackTrace);
		//		errorAttributes.remove("message");
		return errorAttributes;
	}
}
